---
layout: "default"
title: "alignofValue"
description: "Swift documentation for 'alignofValue': Returns the minimum memory alignment of T."
keywords: "alignofValue,func,swift,documentation"
root: "/v2.0"
---

<div class="declaration" id="func-alignofvalue-t_-t">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-alignofvalue-t_-t">func alignofValue&lt;T&gt;(<wbr>_: T)</a>
        
<div class="comment collapse" id="comment-func-alignofvalue-t_-t"><div class="p">
    <p>Returns the minimum memory alignment of <code>T</code>.</p>

    <h4>Declaration</h4>    
    <code class="language-swift">func alignofValue&lt;T&gt;(_: T) -&gt; Int</code>
    
    
</div></div>
</div>
